package com.itdachang.design.creatation.factory.abstractFactory;

/**
 * 五菱总工厂
 * WuLinFactory [Abstract] method=[newCar、newMask]
 *      WuLinCarFactory [Abstract] Override=[newMask]
 *              WuLinHangZhouFactory [class] Override=[newCar]
 * AbstractCar [抽象的汽车]
 *       + engine 引擎
 *       + run()
 * @author gcq
 * @Create 2022-02-07
 */
public abstract class WuLinFactory {
    /**
     * 造车
     * @return
     */
    public abstract AbstractCar newCar();

    /**
     * 造口罩
     * @return
     */
    public abstract AbstractMask newMask();
}